//==============================================================================
// X barracks_anim.txt
//==============================================================================
import Construction_defines_anim.txt
import Examination_defines_anim.txt
//==============================================================================
define Dust
{
    set hotspot
    {
        version
        {
            Visualparticle SFX A Building DustA
        }
    }
}
//==============================================================================
anim idle
{
    SetSelector
    {
        TechLogic none/age 2/age 3/age 4
        SetSelector
        {
            ConstructionLogic 0 33 66
            set hotspot
            {
                version
                {
                    Visual Building C Barracks Age2
                    ReplaceTexture building c roofage1/building c roofage2
                    ReplaceTexture building c wallsage1/building c wallsage2
                    connect ATTACHPOINT examinationSFX hotspot
                    connect RIGHTTHIGH FlagBarracks HOTSPOT
                    connect LEFTTHIGH FlagBarracks HOTSPOT
                    //connect hotspot BarracksFlag hotspot
                }
            }
            set hotspot
            {
                version
                {
                    Visual Building Construction Medium A
                    connect attachpoint G_Long_Brick hotspot
                    connect face G_Long_Brick hotspot
                    connect chin G_Medium_Brick hotspot
                    connect leftfoot G_Medium_Brick hotspot
                    connect lefthand G_Small_Brick hotspot
                    connect leftleg G_Small_Brick hotspot
                }
            }
            set hotspot
            {
                version
                {
                    Visual Building Construction Medium B
                    connect attachpoint G_Long_Brick hotspot
                    connect face G_Long_Brick hotspot
                    connect chin G_Medium_Brick hotspot
                    connect leftfoot G_Medium_Brick hotspot
                    connect lefthand G_Small_Brick hotspot
                    connect leftleg G_Small_Brick hotspot
                }
            }
            set hotspot
            {
                version
                {
                    Visual Building G ConstructionBarracks
                    connect attachpoint G_Long_Brick hotspot
                    connect face G_Long_Brick hotspot
                    connect chin G_Medium_Brick hotspot
                    connect leftfoot G_Medium_Brick hotspot
                    connect lefthand G_Small_Brick hotspot
                    connect leftleg G_Small_Brick hotspot
                }
            }
        }
        //- - - - - - - - - - - - - - - - - - - - - - - - - - -Age 2- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -//
        SetSelector
        {
            ConstructionLogic 0 33 66
            set hotspot
            {
                version
                {
                   Visual Building C Barracks Age2
                    ReplaceTexture building c roofage1/building c roofage2
                    ReplaceTexture building c wallsage1/building c wallsage2
                    connect ATTACHPOINT examinationSFX hotspot
                    connect RIGHTTHIGH FlagBarracks HOTSPOT
                    connect LEFTTHIGH FlagBarracks HOTSPOT
                    //connect hotspot BarracksFlag hotspot
                }
            }
            set hotspot
            {
                version
                {
                    Visual Building Construction Medium A
                    connect attachpoint G_Long_Brick hotspot
                    connect face G_Long_Brick hotspot
                    connect chin G_Medium_Brick hotspot
                    connect leftfoot G_Medium_Brick hotspot
                    connect lefthand G_Small_Brick hotspot
                    connect leftleg G_Small_Brick hotspot
                }
            }
            set hotspot
            {
                version
                {
                    Visual Building Construction Medium B
                    connect attachpoint G_Long_Brick hotspot
                    connect face G_Long_Brick hotspot
                    connect chin G_Medium_Brick hotspot
                    connect leftfoot G_Medium_Brick hotspot
                    connect lefthand G_Small_Brick hotspot
                    connect leftleg G_Small_Brick hotspot
                }
            }
            set hotspot
            {
                version
                {
                    Visual Building G ConstructionBarracks
                    connect attachpoint G_Long_Brick hotspot
                    connect face G_Long_Brick hotspot
                    connect chin G_Medium_Brick hotspot
                    connect leftfoot G_Medium_Brick hotspot
                    connect lefthand G_Small_Brick hotspot
                    connect leftleg G_Small_Brick hotspot
                }
            }
        }
        //- - - - - - - - - - - - - - - - - - - - - - - - - - -Age 3- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -//
        SetSelector
        {
            ConstructionLogic 0 33 66
            set hotspot
            {
                version
                {
                    Visual Building C Barracks Age3
                    ReplaceTexture building c roofage1/building c roofage3
                    ReplaceTexture building c wallsage1/building c wallsage3
                    connect ATTACHPOINT examinationSFX hotspot
                    connect RIGHTTHIGH FlagBarracks HOTSPOT
                    connect LEFTTHIGH FlagBarracks HOTSPOT
                    //connect hotspot BarracksFlag hotspot
                }
            }
            set hotspot
            {
                version
                {
                    Visual Building Construction Medium A
                    connect attachpoint G_Long_Brick hotspot
                    connect face G_Long_Brick hotspot
                    connect chin G_Medium_Brick hotspot
                    connect leftfoot G_Medium_Brick hotspot
                    connect lefthand G_Small_Brick hotspot
                    connect leftleg G_Small_Brick hotspot
                }
            }
            set hotspot
            {
                version
                {
                    Visual Building Construction Medium B
                    connect attachpoint G_Long_Brick hotspot
                    connect face G_Long_Brick hotspot
                    connect chin G_Medium_Brick hotspot
                    connect leftfoot G_Medium_Brick hotspot
                    connect lefthand G_Small_Brick hotspot
                    connect leftleg G_Small_Brick hotspot
                }
            }
            set hotspot
            {
                version
                {
                    Visual Building G ConstructionBarracks
                    connect attachpoint G_Long_Brick hotspot
                    connect face G_Long_Brick hotspot
                    connect chin G_Medium_Brick hotspot
                    connect leftfoot G_Medium_Brick hotspot
                    connect lefthand G_Small_Brick hotspot
                    connect leftleg G_Small_Brick hotspot
                }
            }
        }
        //- - - - - - - - - - - - - - - - - - - - - - - - - - -Age 4- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -//
        SetSelector
        {
            ConstructionLogic 0 33 66
            set hotspot
            {
                version
                {
                    Visual Building C Barracks Age4
                    ReplaceTexture building c roofage1/building c roofage4
                    ReplaceTexture building c wallsage1/building c wallsage4
                    connect ATTACHPOINT examinationSFX hotspot
                    connect RIGHTTHIGH FlagBarracks HOTSPOT
                    connect LEFTTHIGH FlagBarracks HOTSPOT
                    //connect hotspot BarracksFlag hotspot
                }
            }
            set hotspot
            {
                version
                {
                    Visual Building Construction Medium A
                    connect attachpoint G_Long_Brick hotspot
                    connect face G_Long_Brick hotspot
                    connect chin G_Medium_Brick hotspot
                    connect leftfoot G_Medium_Brick hotspot
                    connect lefthand G_Small_Brick hotspot
                    connect leftleg G_Small_Brick hotspot
                }
            }
            set hotspot
            {
                version
                {
                    Visual Building Construction Medium B
                    connect attachpoint G_Long_Brick hotspot
                    connect face G_Long_Brick hotspot
                    connect chin G_Medium_Brick hotspot
                    connect leftfoot G_Medium_Brick hotspot
                    connect lefthand G_Small_Brick hotspot
                    connect leftleg G_Small_Brick hotspot
                }
            }
            set hotspot
            {
                version
                {
                    Visual Building G ConstructionBarracks
                    connect attachpoint G_Long_Brick hotspot
                    connect face G_Long_Brick hotspot
                    connect chin G_Medium_Brick hotspot
                    connect leftfoot G_Medium_Brick hotspot
                    connect lefthand G_Small_Brick hotspot
                    connect leftleg G_Small_Brick hotspot
                }
            }
        }
    }
}
//==============================================================================
anim Death
{
    SetSelector
    {
        TechLogic none/age 2/age 3/age 4
        SetSelector
        {
            ConstructionLogic 0 33 66
            set hotspot
            {
                version
                {
                    Visual Building C Barracks Age2_Death
                    ReplaceTexture building c roofage1/building c roofage2
                    ReplaceTexture building c wallsage1/building c wallsage2
                    connect Smoke0 Dust hotspot
                    connect Smoke1 Dust hotspot
                    connect Smoke2 Dust hotspot
                    connect Smoke3 Dust hotspot
                }
            }
            set hotspot
            {
                version
                {
                    Visual Building Construction Medium A
                    connect attachpoint G_Long_Brick hotspot
                    connect face G_Long_Brick hotspot
                    connect chin G_Medium_Brick hotspot
                    connect leftfoot G_Medium_Brick hotspot
                    connect lefthand G_Small_Brick hotspot
                    connect leftleg G_Small_Brick hotspot
                }
            }
            set hotspot
            {
                version
                {
                    Visual Building Construction Medium B
                    connect attachpoint G_Long_Brick hotspot
                    connect face G_Long_Brick hotspot
                    connect chin G_Medium_Brick hotspot
                    connect leftfoot G_Medium_Brick hotspot
                    connect lefthand G_Small_Brick hotspot
                    connect leftleg G_Small_Brick hotspot
                }
            }
            set hotspot
            {
                version
                {
                    Visual Building G ConstructionBarracks
                    connect attachpoint G_Long_Brick hotspot
                    connect face G_Long_Brick hotspot
                    connect chin G_Medium_Brick hotspot
                    connect leftfoot G_Medium_Brick hotspot
                    connect lefthand G_Small_Brick hotspot
                    connect leftleg G_Small_Brick hotspot
                }
            }
        }
        //- - - - - - - - - - - - - - - - - - - - - - - - - - -Age 2- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -//
        SetSelector
        {
            ConstructionLogic 0 33 66
            set hotspot
            {
                version
                {
                    Visual Building C Barracks Age2_Death
                    ReplaceTexture building c roofage1/building c roofage2
                    ReplaceTexture building c wallsage1/building c wallsage2
                    connect Smoke0 Dust hotspot
                    connect Smoke1 Dust hotspot
                    connect Smoke2 Dust hotspot
                    connect Smoke3 Dust hotspot
                }
            }
            set hotspot
            {
                version
                {
                    Visual Building Construction Medium A
                    connect attachpoint G_Long_Brick hotspot
                    connect face G_Long_Brick hotspot
                    connect chin G_Medium_Brick hotspot
                    connect leftfoot G_Medium_Brick hotspot
                    connect lefthand G_Small_Brick hotspot
                    connect leftleg G_Small_Brick hotspot
                }
            }
            set hotspot
            {
                version
                {
                    Visual Building Construction Medium B
                    connect attachpoint G_Long_Brick hotspot
                    connect face G_Long_Brick hotspot
                    connect chin G_Medium_Brick hotspot
                    connect leftfoot G_Medium_Brick hotspot
                    connect lefthand G_Small_Brick hotspot
                    connect leftleg G_Small_Brick hotspot
                }
            }
            set hotspot
            {
                version
                {
                    Visual Building G ConstructionBarracks
                    connect attachpoint G_Long_Brick hotspot
                    connect face G_Long_Brick hotspot
                    connect chin G_Medium_Brick hotspot
                    connect leftfoot G_Medium_Brick hotspot
                    connect lefthand G_Small_Brick hotspot
                    connect leftleg G_Small_Brick hotspot
                }
            }
        }
        //- - - - - - - - - - - - - - - - - - - - - - - - - - -Age 3- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -//
        SetSelector
        {
            ConstructionLogic 0 33 66
            set hotspot
            {
                version
                {
                    Visual Building C Barracks Age3_Death
                    ReplaceTexture building c roofage1/building c roofage3
                    ReplaceTexture building c wallsage1/building c wallsage3
                    connect Smoke0 Dust hotspot
                    connect Smoke1 Dust hotspot
                    connect Smoke2 Dust hotspot
                    connect Smoke3 Dust hotspot
                }
            }
            set hotspot
            {
                version
                {
                    Visual Building Construction Medium A
                    connect attachpoint G_Long_Brick hotspot
                    connect face G_Long_Brick hotspot
                    connect chin G_Medium_Brick hotspot
                    connect leftfoot G_Medium_Brick hotspot
                    connect lefthand G_Small_Brick hotspot
                    connect leftleg G_Small_Brick hotspot
                }
            }
            set hotspot
            {
                version
                {
                    Visual Building Construction Medium B
                    connect attachpoint G_Long_Brick hotspot
                    connect face G_Long_Brick hotspot
                    connect chin G_Medium_Brick hotspot
                    connect leftfoot G_Medium_Brick hotspot
                    connect lefthand G_Small_Brick hotspot
                    connect leftleg G_Small_Brick hotspot
                }
            }
            set hotspot
            {
                version
                {
                    Visual Building G ConstructionBarracks
                    connect attachpoint G_Long_Brick hotspot
                    connect face G_Long_Brick hotspot
                    connect chin G_Medium_Brick hotspot
                    connect leftfoot G_Medium_Brick hotspot
                    connect lefthand G_Small_Brick hotspot
                    connect leftleg G_Small_Brick hotspot
                }
            }
        }
        //- - - - - - - - - - - - - - - - - - - - - - - - - - -Age 4- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -//
        SetSelector
        {
            ConstructionLogic 0 33 66
            set hotspot
            {
                version
                {
                    Visual Building C Barracks Age4_Death
                    ReplaceTexture building c roofage1/building c roofage4
                    ReplaceTexture building c wallsage1/building c wallsage4
                    connect Smoke0 Dust hotspot
                    connect Smoke1 Dust hotspot
                    connect Smoke2 Dust hotspot
                    connect Smoke3 Dust hotspot
                }
            }
            set hotspot
            {
                version
                {
                    Visual Building Construction Medium A
                    connect attachpoint G_Long_Brick hotspot
                    connect face G_Long_Brick hotspot
                    connect chin G_Medium_Brick hotspot
                    connect leftfoot G_Medium_Brick hotspot
                    connect lefthand G_Small_Brick hotspot
                    connect leftleg G_Small_Brick hotspot
                }
            }
            set hotspot
            {
                version
                {
                    Visual Building Construction Medium B
                    connect attachpoint G_Long_Brick hotspot
                    connect face G_Long_Brick hotspot
                    connect chin G_Medium_Brick hotspot
                    connect leftfoot G_Medium_Brick hotspot
                    connect lefthand G_Small_Brick hotspot
                    connect leftleg G_Small_Brick hotspot
                }
            }
            set hotspot
            {
                version
                {
                    Visual Building G ConstructionBarracks
                    connect attachpoint G_Long_Brick hotspot
                    connect face G_Long_Brick hotspot
                    connect chin G_Medium_Brick hotspot
                    connect leftfoot G_Medium_Brick hotspot
                    connect lefthand G_Small_Brick hotspot
                    connect leftleg G_Small_Brick hotspot
                }
            }
        }
    }
}
